{% extends 'iframe/basePlus.html.twig' %}
{% block cardHeader %}
    添加<a href="/Admin/Automate/index{{ alias }}" class="layui-btn layui-btn-sm" style="float:right;margin-top:6px;">列表</a>
{% endblock %}
{% block cardBody %}
    <form class="layui-form">
        {{ html|raw }}
        <dry-common role="submit" submit="确定" reset="重置"></dry-common>
    </form>
    <script>
        layui.use(["dry", "file"], function(dry, fileModule){
            dry.addEditWidth('{{ addEditLabelWidth }}');
            dry.submit({}, "/Admin/Automate/index{{ alias }}", "/Api/Automate/new{{ alias }}");
            fileModule.doPlay();
        });
    </script>
{% endblock %}